#include "ulib.c"

void test_basic_syscalls(void) {
    write(1, "Testing basic system calls...\n", strlen("Testing basic system calls...\n"));
    int pid = getpid();
    char buf[64];
    int n = snprintf(buf, sizeof(buf), "Current PID: %d\n", pid);
    write(1, buf, n);
}

int main() {
    test_basic_syscalls();
    return 0;
}